#!/bin/bash
proc iname=${1}.pc oname=${1}.c

echo -----------------------------------------------------------------------------------
echo proc iname=${1}.pc oname=${1}.c
echo gcc -Wall -o ${1} -L$ORACLE_HOME/lib -lclntsh -lnam -I$ORACLE_HOME/precomp/public -I$ORACLE_HOME/network/public -I$ORACLE_HOME/plsql/public ${1}.c
echo -----------------------------------------------------------------------------------

gcc -o ${1} -L$ORACLE_HOME/lib -lclntsh -I$ORACLE_HOME/precomp/public -I$ORACLE_HOME/network/public -I$ORACLE_HOME/plsql/public ${1}.c -lnam -lhiredis
